package cn.waka.sys.admin.config;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface Node {
    int id();

    String name();

    int level() default 1;

    String url() default "#";

    boolean menu() default true;

    boolean auth() default true;

    String icon() default "";

    int order() default 99999;

    String target() default "_self";

    int pid() default 0;

}
